package com.piccolo.wrapper.client.component.JSNI;

import com.google.gwt.dom.client.Element;
import com.piccolo.wrapper.client.component.Overlay.PCameraOverlay;
import com.piccolo.wrapper.client.component.Overlay.PCanvasOverlay;

public class PCanvasJSNI 
{
	public native PCanvasOverlay create(Element canvas) 
	/*-{ return new $wnd.PCanvas(canvas, null); }-*/;
	
	public native PCameraOverlay getCamera(PCanvasOverlay self) 
	/*-{ return self.camera; }-*/;
}
